package com.api.shopapi.service;


import com.api.shopapi.entity.CartGoods;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author maochuan
 */
@Service
public interface CartGoodsService {

    int insert(CartGoods cartGoods);

    int update(CartGoods cartGoods);

    int delete(String cartGoodsCode);

    List<CartGoods> getList();

    CartGoods getByCartGoodsCode(String cartGoodsCode);

    List<CartGoods> getListByCartBusinessCode(String cartBusinessCode);

    List<CartGoods> getListByGoodsCode(String goodsCode);

}
